<!DOCTYPE html>
<html>

<head>
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta charset="UTF-8">
    <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
    <title></title>
    <link rel="stylesheet" href="css/common.css">
    <script src="js/jquery-1.11.1.min.js"></script>
    <script type='text/javascript' src='js/common.js'></script>
    <link rel="stylesheet" href="css/viewport.css">

    <style>
        .no-data-notice {
            margin-top: 10px;
            padding: 10px;
            color: #818181;
            text-align: center;
            border-radius: 5px;
            /* display: none; */
            /* 默认隐藏 */
        }
    </style>
</head>

<body>
    <div class="main">
        <!-- <div class="header">
        <div class="left_btn"><img src="images/left_btn.png" alt=""></div>
        <div class="title">环境改造</div>
    </div> -->
        <div class="banner">
            <div class="pic"><img width="100%" src="images/banner.png" alt=""></div>
        </div>
        <div class="tab_box">
            <span class="active">全部</span>
            <span>已审核</span>
            <span>未审核</span>
            <span>不通过</span>
        </div>

        <div class="search_box">
            <div class="content">
                <div class="input_box">
                    <input placeholder="请输入姓名" type="text">
                    <button>查询</button>
                </div>
                <div class="search_data">
                    <div class="list">
                        <div class="label">张某某</div>
                        <div class="label">张某某</div>
                        <div class="label">张某某</div>
                        <div class="label">张某某</div>
                    </div>
                </div>
            </div>
        </div>

        <div class="list_box list_box0">
            <a class="item" href="#">
                <div class="h">
                    <div class="name">墙面粉刷</div>
                    <div class="state y_state">已审核</div>
                </div>
                <div class="info">
                    <div class="pic">
                        <img src="images/list_pic4.png" alt="">
                    </div>
                    <div class="txt">
                        <p class="p1">张某某</p>
                        <p class="p2">东阳市横店街道南京路1111号</p>
                    </div>
                </div>
            </a>

            <a class="item" href="#">
                <div class="h">
                    <div class="name">墙面粉刷</div>
                    <div class="state w_state">未审核</div>
                </div>
                <div class="info">
                    <div class="pic">
                        <img src="images/list_pic.png" alt="">
                    </div>
                    <div class="txt">
                        <p class="p1">张某某</p>
                        <p class="p2">东阳市横店街道南京路1111号</p>
                    </div>
                </div>
            </a>

            <a class="item" href="#">
                <div class="h">
                    <div class="name">墙面粉刷</div>
                    <div class="state b_state">不通过</div>
                </div>
                <div class="info">
                    <div class="pic">
                        <img src="images/list_pic.png" alt="">
                    </div>
                    <div class="txt">
                        <p class="p1">张某某</p>
                        <p class="p2">东阳市横店街道南京路1111号</p>
                    </div>
                </div>
            </a>
        </div>
        <div class="list_box list_box1">
            <a class="item" href="#">
                <div class="h">
                    <div class="name">墙面粉刷</div>
                    <div class="state y_state">已审核</div>
                </div>
                <div class="info">
                    <div class="pic">
                        <img src="images/list_pic.png" alt="">
                    </div>
                    <div class="txt">
                        <p class="p1">张某某</p>
                        <p class="p2">东阳市横店街道南京路1111号</p>
                    </div>
                </div>
            </a>

        </div>

        <div class="list_box list_box2">
            <a class="item" href="#">
                <div class="h">
                    <div class="name">墙面粉刷</div>
                    <div class="state w_state">未审核</div>
                </div>
                <div class="info">
                    <div class="pic">
                        <img src="images/list_pic.png" alt="">
                    </div>
                    <div class="txt">
                        <p class="p1">张某某</p>
                        <p class="p2">东阳市横店街道南京路1111号</p>
                    </div>
                </div>
            </a>
        </div>

        <div class="list_box list_box3">
            <a class="item" href="#">
                <div class="h">
                    <div class="name">墙面粉刷</div>
                    <div class="state b_state">不通过</div>
                </div>
                <div class="info">
                    <div class="pic">
                        <img src="images/list_pic.png" alt="">
                    </div>
                    <div class="txt">
                        <p class="p1">张某某</p>
                        <p class="p2">东阳市横店街道南京路1111号</p>
                    </div>
                </div>
            </a>
        </div>

        <div class="no-data-notice">没有更多数据了~</div>
    </div>

</body>

<script>
    $(function () {
        $('.tab_box span').on('click', function () {
            var index = $(this).index();
            $(this).addClass('active').siblings().removeClass('active');
            $('.list_box').hide();
            $('.list_box' + index).show();
        });
        $('.search_box button').click('click', function () {
            $('.search_data').addClass('active');
        })
    })
</script>

</html>